<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>
<%@taglib uri="/WEB-INF/dianning.tld" prefix="dianning"%>
<%@ page import="com.dianning.comm.*" %>
<%@ page import="com.dianning.web.servlet.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="/css/profiletop.css" rel="stylesheet" type="text/css" />
<link href="/css/global.css" rel="stylesheet" type="text/css" />
<link href="/css/brokerInc.css" rel="stylesheet" type="text/css" />
<link href="/css/validator.css" rel="stylesheet" type="text/css" />
<link href="/css/foot.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" charset="utf-8" src="/js/popup.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/jquery.plugins.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/formValidator.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/formValidatorRegex.js"></script>
<script type="text/javascript">
function AddFavorite(sURL, sTitle) {   
    try {   
        window.external.addFavorite(sURL, sTitle);   
    } catch (e) {   
        try {   
            window.sidebar.addPanel(sTitle, sURL, "");   
        } catch (e) {   
            alert("加入收藏失败，请使用Ctrl+D进行添加");   
        }   
    }   
}
</script>
<link rel="shortcut icon" href="favicon.ico">
<link rel="icon" type="images/gif" href="animated_favicon1.gif">
<title>点宁网[<dianning:webinfo type="area"/>分类信息]<dianning:webinfo type="area"/>免费发布信息<dianning:webinfo type="poweredby"/></title>
<meta name="Description" content="<dianning:webinfo type="area"/>分类信息网为您提供<dianning:webinfo type="area"/>分类信息，您可以免费发布和查询求职招聘,兼职,房屋出租,二手市场,生活服务,兼职,黄页等分类信息."/>
<meta name="Keywords" content="<dianning:webinfo type="area"/>免费发布信息, <dianning:webinfo type="area"/>分类信息, <dianning:webinfo type="area"/>信息港, <dianning:webinfo type="area"/>热线, <dianning:webinfo type="area"/>免费发布广告，<dianning:webinfo type="area"/>114"/>
</head>
<body>
<div class="bgtop1">
<s:include value="/top2.jsp" />
</div>
<DIV class=db10></DIV>
<DIV id=header class=header3>
<DIV class="masthead fl head3">
<H1 class="logo_51f"><s:property value="profile.name"/></br><s:property value="profileDomain"/>/<s:property value="profile.webkey"/></H1>
</DIV></DIV>

<DIV class=db10></DIV>
<DIV class=contentwd>

<DIV class=center>

<s:iterator id="info" value="%{infos}" status="st" >
<DIV class="home_list_box1">
<DIV class=hd>
<H4>商品<s:property value="#st.count"/></H4></DIV>
<DIV class="conleft3">
<P name="data_2"><STRONG><s:property value="#info.content" escape="false"/></STRONG></P>
<P>&nbsp;</P>
<s:if test="photonum>0">  
<s:iterator id="p" value="#info.photo" >
<UL class=imgs>
  <LI><SPAN><A href="<s:property value="domain"/>/<s:property value="#p"/>" target="_blank"><IMG src="<s:property value="domain"/>/<s:property value="#p"/>"></A></SPAN></LI>
</UL> 
</s:iterator>  
</s:if> 
</DIV></DIV>
<DIV class=db10></DIV>
</s:iterator>

<!-- /home_list_box --></DIV><!-- /center -->
<DIV class=side>
<DIV class=user_info>
  <DIV class=pic>
  <P><IMG alt=个人头像 src="/avatar.action?uid=<s:property value="profile.uid"/>" ></P>
</DIV>
<H2 class=name><s:property value="userInfo.name"/></H2>
<P>服务区域：<A><s:property value="profile.area"/></A><br> 
所属公司：<s:property value="profile.companyname"/></P>
<P class=phone><EM></EM><s:property value="profile.linktel"/></P>

<P class=depict>
                地址：<s:property value="profile.address"/><br/> 
<s:if test="profile.key1!=''">
<s:property value="profile.key1"/>：<s:property value="profile.value1"/><br/> 
</s:if>
<s:if test="profile.key2!=''">
<s:property value="profile.key2"/>：<s:property value="profile.value2"/><br/> 
</s:if>
<s:if test="profile.key13!=''">
<s:property value="profile.key3"/>：<s:property value="profile.value3"/><br/> 
</s:if>
<s:if test="profile.key4!=''">
<s:property value="profile.key4"/>：<s:property value="profile.value4"/><br/> 
</s:if>
</P>
<P class=tool><A style="CURSOR: hand"  title=点宁网 onclick=AddFavorite(window.location,document.title) href="#"><IMG alt=个人头像 src="/images/wd_an_1.gif" ></A>
<s:if test="userInfo.userDetail.qq!=''">
  <a href="http://wpa.qq.com/msgrd?V=1&Uin=<s:property value="userInfo.userDetail.qq"/>&Site=&Menu=yes"  target=_blank><IMG alt=个人头像 src="/images/wd_an_2.gif" ></a>
</s:if>
</P></DIV>
<DIV class=db10></DIV>

<DIV class=message>
<H4>在线订单</H4>
<P><SPAN class=red>*</SPAN>下单：</P>
<FORM name="add" id="add" method=post action="/profile.action">
<s:hidden name="action" value="orders"/>
<s:hidden name="uid"/>
<s:hidden name="webkey"/>
<TEXTAREA style="WIDTH: 204px" class=messageBox rows=4 cols=31 name=content id="content"  maxlength="150"></TEXTAREA>
<font id="contentTip"></font> 
<P><SPAN class=red>*</SPAN>联系方式：</P>
<P><INPUT maxLength=50 name=contact id="contact"></P>
<font id="contactTip"></font>
<P><SPAN class=red>*</SPAN>地址：</P>

<P><INPUT maxLength=50 name=address id="address"></P>
<font id="addressTip"></font>
<P><INPUT class=btn value=下单 type="submit"></P></FORM>
</DIV>
<DIV class=db10></DIV>

<DIV class="area list">
<DIV class=hd>
<H4>我的位置</H4></DIV>
<iframe style="width: 230px; height: 200px;" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" src="/map.action?action=profile&id=<s:property value="profile.uid"/>"></iframe>
</DIV>
<DIV class=db10></DIV>

<DIV class=share>
<H4>分享到</H4>
<P id=share></P></DIV><!-- /share --></DIV>

</DIV><!-- /contant -->
<!--/side-->
<DIV class=db10></DIV>
<DIV id=footer>
  <P class=about><s:property value="profile.name"/>
  服务区域：<s:property value="profile.area"/>
  地址：<s:property value="profile.address"/></P>
<DIV class=footer_51f>
<P><SPAN>域名：<s:property value="profileDomain"/>/<s:property value="profile.webkey"/>     联系电话：<s:property value="profile.linktel"/></SPAN></P>
<P>Copyright &copy; 2011 dianning.com.All rights reserved.</P>
</DIV></DIV>
<script type="text/javascript">  
$(document).ready(function(){
	$.formValidator.initConfig({formid:"add",errorfocus: true});
	$("#content").formValidator({onshow:"请填写订单说明",onfocus: "10~150个字之间" }).regexValidator({ regexp: "^[\\s\\S]*$", onerror: "请填写订单说明" }).regexValidator({ regexp: "^[\\s\\S]{10,}$", onerror: "订单说明不足10个字" }).regexValidator({ regexp: "^([\\s\\S]){10,150}$", onerror: "内容应在10~150个字之间" });
	$("#contact").formValidator({onshow:"请填写联系方式",onfocus: "5-20个字之间" }).regexValidator({ regexp: "^[\\s\\S]*$", onerror: "请填写联系方式" }).regexValidator({ regexp: "^[\\s\\S]{5,}$", onerror: "联系方式不足5个字" }).regexValidator({ regexp: "^([\\s\\S]){5,20}$", onerror: "应在5~20个字之间" });
	$("#address").formValidator({onshow:"请填写地址",onfocus: "5-20个字之间" }).regexValidator({ regexp: "^[\\s\\S]*$", onerror: "请填写地址" }).regexValidator({ regexp: "^[\\s\\S]{5,}$", onerror: "订单地址不足5个字" }).regexValidator({ regexp: "^([\\s\\S]){5,20}$", onerror: "应在10~150个字之间" });
});
<s:if test="code=='order'">
	ShowAlert('提示','提交成功!',340,80);
</s:if>
$('#share').shareTo({
	imgUrl: "http://cms.51f.com/upload/images/share.png",
	showLabel:false
});
</script>
</body>
</html>
